package communication;

import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;

public class RequestInputStream extends ObjectInputStream{

	public RequestInputStream(InputStream in) throws IOException {
		super(in);
	}
	
	public Request readRequest() throws IOException, ClassNotFoundException{
		return (Request)readObject();
	}

}
